package com.vecspace.exception;

public class HException extends RuntimeException { //RuntimeException才能引起事务回滚
	private static final long serialVersionUID = -7529872001969335082L;
	private String errCode;
	
	public HException(String message){
		super(message);
	}
	
	public HException(String errCode, String message){
		super(message);		 
		this.errCode = errCode;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}
}
